import React, { useEffect } from 'react'

export default function C({ username }) {
    useEffect(()=>{
        console.log('C 组件挂载');
        return ()=>{
            console.log('C 组件卸载')
        }
    },[])
    return (
        <div>{username}</div>
    )
}
